s1,1,s2t,0
s2t,0,s2,>
s2,1,s2,>
s2,0,s3,>
s3,0,s4t,1
s4t,1,s4,<
s3,1,s3,>
s4,1,s4,<
s4,0,s5,<
s5,1,s5,<
s5,0,s1t,1
s1t,1,s1,>